<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8" />
    <style type="text/css">
	  *{font-size:12px;font-family:Arial;}
      table{background:yellow;border:solid black 2px;border-collapse:separate;}
      td,th{border:solid black 2px;width:10px;empty-cells:show;}
	  td{background:green;}
	  th{ background:gray;}
    </style>
  </head>
  <body>
    <table>
      <tr>
        <th></th> 
        <th>一</th>
        <th>二</th>
        <th>三</th>
        <th>四</th>
        <th>五</th>
      </tr>
      <tr >
        <th>上午</th>
        <td></td> 
        <td>XX</td>
        <td>XX</td>
        <td>XX</td>
        <td>XX</td>
      </tr>
      <tr>
       <th>下午</th>
        <td>XX</td>
        <td>XX</td>
        <td>XX</td>
        <td>XX</td>
        <td></td>
      </tr>
    </table> 
  </body>
</html>